package com.koalac.ironman.net.pojo.response;

import org.json.JSONObject;

public class ProductdateData extends BaseResponse {

    private String id;
    private String goodId;
    private String dateline;
    private String startDate;
    private String publish;

    @Override
    public void init(JSONObject source) {
	if (source != null) {
	    id = source.optString("id");
	    goodId = source.optString("goodid");
	    dateline = source.optString("dateline");
	    startDate = source.optString("start_date");
	    publish = source.optString("publish");
	}
    }

    public String getId() {
	return id;
    }

    public void setId(String id) {
	this.id = id;
    }

    public String getGoodId() {
	return goodId;
    }

    public void setGoodId(String goodId) {
	this.goodId = goodId;
    }

    public String getDateline() {
	return dateline;
    }

    public void setDateline(String dateline) {
	this.dateline = dateline;
    }

    public String getStartDate() {
	return startDate;
    }

    public void setStartDate(String startDate) {
	this.startDate = startDate;
    }

    public String getPublish() {
	return publish;
    }

    public void setPublish(String publish) {
	this.publish = publish;
    }

}
